<html>
 <head>
  <meta charset="utf-8"/>
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"/>
  <title>
   revell的回复  | 数螺 | NAUT IDEA
  </title>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" rel="stylesheet"/>
  <link href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"/>
  <style type="text/css">
   #xmain img {
                  max-width: 100%;
                  display: block;
                  margin-top: 10px;
                  margin-bottom: 10px;
                }

                #xmain p {
                    line-height:150%;
                    font-size: 16px;
                    margin-top: 20px;
                }

                #xmain h2 {
                    font-size: 24px;
                }

                #xmain h3 {
                    font-size: 20px;
                }

                #xmain h4 {
                    font-size: 18px;
                }


                .header {
	           background-color: #0099ff;
	           color: #ffffff;
	           margin-bottom: 20px;
	        }

	        .header p {
                  margin: 0px;
                  padding: 10px 0;
                  display: inline-block;  
                  vertical-align: middle;
                  font-size: 16px;
               }

               .header a {
                 color: white;
               }

              .header img {
                 height: 25px;
              }
  </style>
  <script src="http://cdn.bootcss.com/jquery/3.0.0/jquery.min.js">
  </script>
  <script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" type="text/javascript">
   MathJax.Hub.Config({elements: ["bbpress-forums"]});
  </script>
  <script src="http://nautstatic-10007657.file.myqcloud.com/static/css/readability.min.js" type="text/javascript">
  </script>
  <script type="text/javascript">
   $(document).ready(function() {
                 var loc = document.location;
                 var uri = {
                  spec: "http://cos.name/cn/profile/11937/replies/",
                  host: "http://cos.name",
                  prePath: "http://cos.name",
                  scheme: "http",
                  pathBase: "http://cos.name/"
                 };
    
                 var documentClone = document.cloneNode(true);
                 var article = new Readability(uri, documentClone).parse();
     
                 document.getElementById("xmain").innerHTML = article.content;
                });
  </script>
  <!-- 1466454222: Accept with keywords: (title(0.0):论坛, topn(0.3):概率,抽样,帖子,作者,会员,数组,赋值,用户名,数据库,例子,数据,教程,变量,检验,问题,密码,普通,主站,字符,代码,主题,程序,总计,多谢,字段,内容,论坛,时候,模型,自变量).-->
 </head>
 <body class="bbp-user-page single singular bbpress single-author sidebar" onload="">
  <div class="header">
   <div class="container">
    <div class="row">
     <div class="col-xs-6 col-sm-6 text-left">
      <a href="/databee">
       <img src="http://nautidea-10007657.cos.myqcloud.com/logo_white.png"/>
      </a>
      <a href="/databee">
       <p>
        数螺
       </p>
      </a>
     </div>
     <div class="hidden-xs col-sm-6 text-right">
      <p>
       致力于数据科学的推广和知识传播
      </p>
     </div>
    </div>
   </div>
  </div>
  <div class="container text-center">
   <h1>
    revell的回复
   </h1>
  </div>
  <div class="container" id="xmain">
   <div class="hfeed site" id="page">
    <header class="site-header" id="masthead" role="banner">
     <div id="cos-logo">
      <a href="http://cos.name/cn">
       <img src="http://cos.name/cn/wp-content/themes/COS-forest/images/headers/cos-logo.png"/>
      </a>
     </div>
     <div class="navbar" id="navbar">
      <nav class="navigation main-navigation" id="site-navigation" role="navigation">
       <h3 class="menu-toggle">
        菜单
       </h3>
       <div class="menu-%e8%8f%9c%e5%8d%951-container">
        <ul class="nav-menu" id="menu-%e8%8f%9c%e5%8d%951">
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-407772" id="menu-item-407772">
          <a href="http://cos.name/cn/">
           论坛首页
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-407773" id="menu-item-407773">
          <a href="http://cos.name/cn/forums/">
           讨论区
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-407774" id="menu-item-407774">
          <a href="http://cos.name/cn/wp-login.php?action=register">
           注册
          </a>
         </li>
         <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-407819" id="menu-item-407819">
          <a href="http://cos.name/">
           主站
          </a>
         </li>
        </ul>
       </div>
      </nav>
      <!-- #site-navigation -->
     </div>
     <!-- #navbar -->
    </header>
    <!-- #masthead -->
    <div class="site-main" id="main">
     <div class="content-area" id="primary">
      <div class="site-content" id="content" role="main">
       <article class="post-0 type- status-publish hentry" id="post-0">
        <header class="entry-header">
         <h1 class="entry-title">
          revell
         </h1>
        </header>
        <!-- .entry-header -->
        <div class="entry-content">
         <div id="bbpress-forums">
          <div id="bbp-user-wrapper">
           <div id="bbp-single-user-details">
            <div id="bbp-user-avatar">
             <span class="vcard">
              <a class="url fn n" href="http://cos.name/cn/profile/11937/" rel="me" title="revell">
               <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=150&amp;d=monsterid&amp;r=g"/>
              </a>
             </span>
            </div>
            <!-- #author-avatar -->
            <div id="bbp-user-navigation">
             <ul>
              <li class="">
               <span class="vcard bbp-user-profile-link">
                <a class="url fn n" href="http://cos.name/cn/profile/11937/" rel="me" title="revell的档案">
                 档案
                </a>
               </span>
              </li>
              <li class="">
               <span class="bbp-user-topics-created-link">
                <a href="http://cos.name/cn/profile/11937/topics/" title="revell发起的主题">
                 发起的主题
                </a>
               </span>
              </li>
              <li class="current">
               <span class="bbp-user-replies-created-link">
                <a href="http://cos.name/cn/profile/11937/replies/" title="revell创建的回复">
                 创建的回复
                </a>
               </span>
              </li>
              <li class="">
               <span class="bbp-user-favorites-link">
                <a href="http://cos.name/cn/profile/11937/favorites/" title="revell的收藏夹">
                 收藏夹
                </a>
               </span>
              </li>
             </ul>
            </div>
            <!-- #bbp-user-navigation -->
           </div>
           <!-- #bbp-single-user-details -->
           <div id="bbp-user-body">
            <div class="bbp-user-replies-created" id="bbp-user-replies-created">
             <h2 class="entry-title">
              回复的主题
             </h2>
             <div class="bbp-user-section">
              <div class="bbp-pagination">
               <div class="bbp-pagination-count">
                查看 15 个帖子 - 1 到 15（总计 22 个）
               </div>
               <div class="bbp-pagination-links">
                <span class="page-numbers current">
                 1
                </span>
                <a class="page-numbers" href="http://cos.name/cn/profile/11937/replies/page/2/">
                 2
                </a>
                <a class="next page-numbers" href="http://cos.name/cn/profile/11937/replies/page/2/">
                 →
                </a>
               </div>
              </div>
              <ul class="forums bbp-replies" id="topic-0-replies">
               <li class="bbp-header">
                <div class="bbp-reply-author">
                 作者
                </div>
                <!-- .bbp-reply-author -->
                <div class="bbp-reply-content">
                 帖子
                </div>
                <!-- .bbp-reply-content -->
               </li>
               <!-- .bbp-header -->
               <li class="bbp-body">
                <div class="bbp-reply-header" id="post-246076">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2008年3月28日 下午3:18
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/6181/">
                    我手头关于Copula的20篇论文资料（下载）
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/6181/page/2/#post-246076">
                   17 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-246076 -->
                <div class="odd bbp-parent-forum-1015 bbp-parent-topic-6181 bbp-reply-position-17 user-id-11937 post-246076 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   请问cOPULA在计量经济学里可以干什么？我有一个公司数据，里面有两个有相关的变量.我老板叫我做一个这两个变量的copula,然后从中间抽样，再作者两个变量的simulated的数据的plot.到底有什么意义呢？我的理解是就和bootstrap差不多，通过joint distribution来增大样本量，为以后的quantile 分析作准备.我们原来有200多家公司的数据. 另外请问有没有step-by-step教你如何在某个软件里面生成copula，然后再抽样的教程？我想在Stata里面做，但是力不从心，底子太薄了  不知道如何下手
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-246074">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2008年3月28日 下午3:02
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/10140/">
                    stata 做logit 回归
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/10140/#post-246074">
                   2 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-246074 -->
                <div class="even bbp-parent-forum-996 bbp-parent-topic-10140 bbp-reply-position-2 user-id-11937 post-246074 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   楼主有Stata manual吗？里面有很多现成的例子.
                  </p>
                  <p>
                   另外这里有很好的再现教程
                   <br/>
                   <a class="d4pbbc-url" href="http://www.ats.ucla.edu/stat/stata/topics/logistic_regression.htm" rel="nofollow" target="_blank">
                    http://www.ats.ucla.edu/stat/stata/topics/logistic_regression.htm
                   </a>
                   <br/>
                   我的Stata就是从这里起步的.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-242977">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2008年2月12日 上午11:08
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/9595/">
                    想请人变一个程序比对两个数据库里的内容
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/9595/#post-242977">
                   8 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-242977 -->
                <div class="odd bbp-parent-forum-996 bbp-parent-topic-9595 bbp-reply-position-8 user-id-11937 topic-author post-242977 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   回楼上的，别的论坛有人指出来了。改成如下的即可.你指出的问题是对的.程序也条是通过了。回答True. Function本身是对的.
                  </p>
                  <p>
                   Sub test2()
                   <br/>
                   Dim s As String
                   <br/>
                   s = "cat"
                   <br/>
                   Dim temp10 As Variant
                   <br/>
                   temp10 = Array("cat", "dog", "bird")
                   <br/>
                   Dim yesno As Boolean
                   <br/>
                   yesno = IsInArray(s, temp10)
                   <br/>
                   Debug.Print yesno
                   <br/>
                   End Sub
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-242948">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2008年2月11日 下午10:26
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/9595/">
                    想请人变一个程序比对两个数据库里的内容
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/9595/#post-242948">
                   6 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-242948 -->
                <div class="even bbp-parent-forum-996 bbp-parent-topic-9595 bbp-reply-position-6 user-id-11937 topic-author post-242948 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   请问楼上有没有懂VBA的？我写了一个子方程模块，要比较一个字段和一个数组，如果字段在数组里面就返回True,否则返回False.
                  </p>
                  <p>
                   Function IsInArray(s, temp10) As Boolean
                   <br/>
                   Dim i As Long
                   <br/>
                   For i = LBound(temp10) To UBound(temp10)
                   <br/>
                   If temp10(i) = s Then
                   <br/>
                   IsInArray = True
                   <br/>
                   Exit For
                   <br/>
                   Else
                   <br/>
                   IsInArray = False
                   <br/>
                   End If
                   <br/>
                   Next i
                   <br/>
                   End Function
                   <br/>
                   ——————————
                   <br/>
                   Sub test2()
                   <br/>
                   Dim s As String
                   <br/>
                   s = "cat"
                   <br/>
                   Dim temp10(1 To 3) As String
                   <br/>
                   temp10 = Array("cat", "dog", "bird")    &lt;==高亮在这里
                   <br/>
                   Dim yesno As Boolean
                   <br/>
                   yesno = IsInArray(s, temp10)
                   <br/>
                   Debug.Print yesno
                   <br/>
                   End Sub
                  </p>
                  <p>
                   然后用test2()去调试。结果说“cann't assign to array”,并且高亮显示“temp10”.不知道错在哪里？
                   <br/>
                   能不能帮我看看不知道错在哪里？  本质上来说这个功能很直白的.  谢谢.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-242882">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2008年2月8日 上午10:13
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/9595/">
                    想请人变一个程序比对两个数据库里的内容
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/9595/#post-242882">
                   3 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-242882 -->
                <div class="odd bbp-parent-forum-996 bbp-parent-topic-9595 bbp-reply-position-3 user-id-11937 topic-author post-242882 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   谢谢楼上的。我现在在看VBA的书，打算自己编一个程序.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-239706">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年12月14日 下午3:59
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/9021/">
                    如何检验两个状态变量之间是相互独立的？
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/9021/#post-239706">
                   2 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-239706 -->
                <div class="even bbp-parent-forum-991 bbp-parent-topic-9021 bbp-reply-position-2 user-id-11937 topic-author post-239706 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   . spearman y c1
                  </p>
                  <p>
                   Number of obs =    3248
                   <br/>
                   Spearman's rho =       0.0995
                  </p>
                  <p>
                   Test of Ho: y and c1 are independent
                   <br/>
                   Prob &gt; |t| =       0.0000
                  </p>
                  <p>
                   . tabulate y c1, chi2
                  </p>
                  <p>
                   |          c1
                   <br/>
                   y |         0          1 |     Total
                   <br/>
                   ———–+———————-+———-
                   <br/>
                   0 |     2,094        697 |     2,791
                   <br/>
                   1 |       285        172 |       457
                   <br/>
                   ———–+———————-+———-
                   <br/>
                   Total |     2,379        869 |     3,248
                  </p>
                  <p>
                   Pearson chi2(1) =  32.1362   Pr = 0.000
                  </p>
                  <p>
                   上面两个检验发现y和c1不是独立的，实际的联系是y取值为0的概率在c1=0,1的情况下更高一些.  而且chi2检验已经给出了transition matrix  .
                  </p>
                  <p>
                   那么问题是要想知道当c1=1时y=1的条件概率的大小程度，是不是只能用离散变量回归来计算？比如probit?
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-235252">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年10月3日 下午3:53
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/8110/">
                    如何平均posterior?
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/8110/#post-235252">
                   3 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-235252 -->
                <div class="odd bbp-parent-forum-991 bbp-parent-topic-8110 bbp-reply-position-3 user-id-11937 topic-author post-235252 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   多谢楼上的指点.我不熟悉hierarchical model,能给几篇文章的名字吗？我这里应该可以找到.
                  </p>
                  <p>
                   我的朋友是用VAR做关于经济增长和innovation之间关系的.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-225615">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年5月16日 下午9:22
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/6351/">
                    求助：MCMC估计图像的GRF可行吗
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/6351/#post-225615">
                   2 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-225615 -->
                <div class="even bbp-parent-forum-991 bbp-parent-topic-6351 bbp-reply-position-2 user-id-11937 post-225615 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   随便说说的啊，动用高性能计算吧.n台机器联网算他个一个月.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-225507">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年5月15日 下午1:04
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/6326/">
                    为什么当y是binary的时候，normalization is required?
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/6326/#post-225507">
                   4 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-225507 -->
                <div class="odd bbp-parent-forum-991 bbp-parent-topic-6326 bbp-reply-position-4 user-id-11937 topic-author post-225507 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   <a class="d4pbbc-url" href="http://www2.warwick.ac.uk/fac/soc/economics/staff/faculty/stewart/stata/redprobnote.pdf" rel="nofollow" target="_blank">
                    http://www2.warwick.ac.uk/fac/soc/economics/staff/faculty/stewart/stata/redprobnote.pdf
                   </a>
                  </p>
                  <p>
                   就是上面这篇文章，第二页第二段，公式（4）上面的那段话，如何理解“y… normalization is required?”在后面的例子里并没有对因变量union做任何处理阿。难道normalization只是针对动态probit模型的建立而言的？
                  </p>
                  <p>
                   多谢各位。
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223715">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月24日 下午1:15
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/6020/">
                    一个关于prior selection的问题
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/6020/#post-223715">
                   7 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223715 -->
                <div class="even bbp-parent-forum-991 bbp-parent-topic-6020 bbp-reply-position-7 user-id-11937 post-223715 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   Sensitivity of Prior is an important part of a Bayesian analysis project.Bayesian approach provides numorous possibilities to her admirers, but requesting a careful heart of them.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223390">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月20日 上午10:57
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/5832/">
                    WinBUGS问题：Panel data模型中的Incidental Parameter Problem.有人知道如何解决吗？
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/5832/page/3/#post-223390">
                   31 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223390 -->
                <div class="odd bbp-parent-forum-991 bbp-parent-topic-5832 bbp-reply-position-31 user-id-11937 topic-author post-223390 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   Fine.Thanks for the help and I will try.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223308">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月19日 上午11:41
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/5963/">
                    请教winbugs程序，不知错在哪里？（程序字符显示不出来，怎么搞的）
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/5963/#post-223308">
                   3 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223308 -->
                <div class="even bbp-parent-forum-991 bbp-parent-topic-5963 bbp-reply-position-3 user-id-11937 post-223308 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   数据的list之前和结尾之后要留出至少一个空行，要不然程序读不了数据.
                  </p>
                  <p>
                   还有logit(p)&lt;-alpha0+alpha1*x1[ i ]+alpha2*x2[ i ]+alpha12*x1[ i ]*x2[ i ]+b
                  </p>
                  <p>
                   最后的b是不是individual-specific effects?要不要写成b[ i ]?我觉得按你上面的代码程序无法分别alpha0和b.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223307">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月19日 上午11:36
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/5963/">
                    请教winbugs程序，不知错在哪里？（程序字符显示不出来，怎么搞的）
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/5963/#post-223307">
                   2 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223307 -->
                <div class="odd bbp-parent-forum-991 bbp-parent-topic-5963 bbp-reply-position-2 user-id-11937 post-223307 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   1、b服从标准正态分布，在程序中怎么增加语句
                   <br/>
                   b~dnorm(0,1)，不知道对不对.
                   <br/>
                   2、在导入数据的时候说N变量有问题
                   <br/>
                   数据间要加逗号。
                   <br/>
                   r=c(10,23,23,26,17,5,53,55,32,46,10,8,10,8,23,0,3,22,15,32,3)，
                   <br/>
                   n=c(39,62,81,51,39,6,74,72,51,79,13,16,30,28,45,4,12,41,30,51,7)，
                   <br/>
                   x1=c(0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1)，
                   <br/>
                   这样.
                  </p>
                  <p>
                   3、赋初值的时候说模型中有的变量没有赋值
                   <br/>
                   b要在initial里表达.
                  </p>
                  <p>
                   建议你找个例子仔细看看每个语法细节.我也是初学者，共同进步.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223306">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月19日 上午11:12
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/5832/">
                    WinBUGS问题：Panel data模型中的Incidental Parameter Problem.有人知道如何解决吗？
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/5832/page/2/#post-223306">
                   29 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223306 -->
                <div class="even bbp-parent-forum-991 bbp-parent-topic-5832 bbp-reply-position-29 user-id-11937 topic-author post-223306 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   谢谢hangover的解释。我对likelihood之类的概念掌握的不是很好。没办法写出likelihood,再根据likelihood写出WinBUGS程序.所以基本上是改写别人的代码，当然在概念上尽量搞懂为什么这样做.：（
                  </p>
                  <p>
                   我最近改写了Tony的代码，试着把多个自变量放进去，而且还是二维的数据.我用WinBUGS试过了可以运行.但是不知道代码对不对.如果你看得懂pp.307页的代码的话，能不能帮我看看我改写的代码是否符合orthogonal reparametrization的思想.下面的代码包含两个自变量（x和num），以及数据和inits.简单的解释一下，pz是指定每一时期的lam都是1/13的概率，而pw是指定每个自变量对lam赋值的时候都有1/2的概率.也许是比较stupid的方法？
                  </p>
                  <p>
                   我另外还将二维数据改写成了三维数据，但是很怀疑是否正确。所以如果下面的应用于二维数据的代码可以用的话，我情愿不去碰三维数据.
                  </p>
                  <p>
                   MODEL2.1            treating incidental parameter problem, two independent variables
                   <br/>
                   model{
                   <br/>
                   for( i in 1 : N ) {
                   <br/>
                   for( j in 1 : T ) {
                   <br/>
                   y
                   <em class="d4pbbc-italic">
                   </em>
                   ~ dbern(mu
                   <em class="d4pbbc-italic">
                   </em>
                   )
                   <br/>
                   mu
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- phi(alpha
                   <em class="d4pbbc-italic">
                   </em>
                   +beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   + beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   + beta.yr[j])}
                   <br/>
                   alpha
                   <em class="d4pbbc-italic">
                   </em>
                   ~ dnorm(nu
                   <em class="d4pbbc-italic">
                   </em>
                   , 1)
                   <br/>
                   nu
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- lam
                   <em class="d4pbbc-italic">
                   </em>
                   , w
                   <em class="d4pbbc-italic">
                   </em>
                   ]
                   <br/>
                   z
                   <em class="d4pbbc-italic">
                   </em>
                   ~ dcat (pz[])
                   <br/>
                   w
                   <em class="d4pbbc-italic">
                   </em>
                   ~ dcat (pw[])
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta * x
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   lam
                   <em class="d4pbbc-italic">
                   </em>
                   &lt;- -beta.num * num
                   <em class="d4pbbc-italic">
                   </em>
                   <br/>
                   }
                   <br/>
                   for(j in 1:T){
                   <br/>
                   beta.yr[j] ~ dnorm(0,0.001)
                   <br/>
                   }
                   <br/>
                   beta ~ dnorm(0, 0.001)
                   <br/>
                   beta.num ~ dnorm(0, 0.001)
                   <br/>
                   }
                  </p>
                  <p>
                   init for model 1 and 2 only
                   <br/>
                   list(alpha=c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
                   <br/>
                   beta  = 0,
                   <br/>
                   beta.num = 0,
                   <br/>
                   beta.yr = c(NA,0,0,0,0,0,0,0,0,0,0,0,0),
                   <br/>
                   )
                  </p>
                  <p>
                   Data 2  for Model 2 and model 2.1  only
                  </p>
                  <p>
                   list(
                   <br/>
                   N=10,T=13,
                   <br/>
                   pz=c(0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923, 0.076923),
                   <br/>
                   pw=c(0.5, 0.5),
                   <br/>
                   y=structure(
                   <br/>
                   .Data=c(
                   <br/>
                   0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0,
                   <br/>
                   0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
                   <br/>
                   1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,
                   <br/>
                   0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1,
                   <br/>
                   0, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0,
                   <br/>
                   0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
                   <br/>
                   0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0,
                   <br/>
                   0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                   <br/>
                   0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0,
                   <br/>
                   0, 0, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0),
                   <br/>
                   .Dim=c(10,13)
                   <br/>
                   ),
                   <br/>
                   x=structure(
                   <br/>
                   .Data=c(
                   <br/>
                   0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0,
                   <br/>
                   0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0,
                   <br/>
                   1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0,
                   <br/>
                   1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1,
                   <br/>
                   1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
                   <br/>
                   0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0,
                   <br/>
                   1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0,
                   <br/>
                   0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0,
                   <br/>
                   0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 0,
                   <br/>
                   1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0),
                   <br/>
                   .Dim=c(10,13)
                   <br/>
                   ),
                   <br/>
                   num=structure(
                   <br/>
                   .Data=c(
                   <br/>
                   0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 1.0986, 1.0986, 1.0986, 1.0986,
                   <br/>
                   1.6094, 1.6094, 1.6094, 1.6094, 1.6094, 1.6094, 1.6094, 1.7918, 1.7918, 1.7918, 1.7918, 1.7918, 1.7918,
                   <br/>
                   2.3979, 2.4849, 2.5649, 2.5649, 2.5649, 2.5649, 2.5649, 2.6391, 2.6391, 2.6391, 2.6391, 2.6391, 2.6391,
                   <br/>
                   2.6391, 2.6391, 2.6391, 2.6391, 2.7081, 2.7081, 2.7081, 2.7081, 2.7726, 2.7726, 2.9444, 2.9444, 2.9957,
                   <br/>
                   2.7081, 2.7081, 2.7081, 2.7726, 2.8904, 2.9444, 3.0445, 3.0445, 3.1355, 3.1355, 3.1781, 3.1781, 3.1781,
                   <br/>
                   2.1972, 2.1972, 2.3026, 2.3026, 2.3026, 2.3979, 2.3979, 2.3979, 2.3979, 2.3979, 2.3979, 2.3979, 2.3979,
                   <br/>
                   1.7918, 1.7918, 1.7918, 1.7918, 1.7918, 1.7918, 1.7918, 2.0794, 2.1972, 2.3026, 2.3026, 2.3026, 2.3026,
                   <br/>
                   0.0000, 0.0000, 0.0000, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931, 0.6931,
                   <br/>
                   1.9459, 1.9459, 2.0794, 2.0794, 2.0794, 2.0794, 2.0794, 2.0794, 2.0794, 2.0794, 2.1972, 2.1972, 2.1972,
                   <br/>
                   2.3026, 2.3026, 2.3026, 2.4849, 2.4849, 2.5649, 2.8332, 2.8332, 2.8332, 2.9444, 3.0445, 3.0445, 3.0445),
                   <br/>
                   .Dim=c(10, 13)
                   <br/>
                   )
                   <br/>
                   )
                   <br/>
                   END
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
                <div class="bbp-reply-header" id="post-223239">
                 <div class="bbp-meta">
                  <span class="bbp-reply-post-date">
                   2007年4月18日 上午10:41
                  </span>
                  <span class="bbp-header">
                   回复：
                   <a class="bbp-topic-permalink" href="http://cos.name/cn/topic/5832/">
                    WinBUGS问题：Panel data模型中的Incidental Parameter Problem.有人知道如何解决吗？
                   </a>
                  </span>
                  <a class="bbp-reply-permalink" href="http://cos.name/cn/topic/5832/page/2/#post-223239">
                   27 楼
                  </a>
                  <span class="bbp-admin-links">
                  </span>
                 </div>
                 <!-- .bbp-meta -->
                </div>
                <!-- #post-223239 -->
                <div class="odd bbp-parent-forum-991 bbp-parent-topic-5832 bbp-reply-position-27 user-id-11937 topic-author post-223239 reply type-reply status-publish hentry">
                 <div class="bbp-reply-author">
                  <a class="bbp-author-avatar" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   <img src="http://sdn.geekzu.org/avatar/5b12caed44e71ebda16493b9ae6f26a1?s=80&amp;d=monsterid&amp;r=g"/>
                  </a>
                  <br/>
                  <a class="bbp-author-name" href="http://cos.name/cn/profile/11937/" rel="nofollow" title="查看revell的档案">
                   revell
                  </a>
                  <br/>
                  <div class="bbp-author-role">
                   普通会员
                  </div>
                 </div>
                 <!-- .bbp-reply-author -->
                 <div class="bbp-reply-content">
                  <p>
                   <a class="d4pbbc-url" href="http://files-upload.com/173948/Lancaster2004_Panelprobit.doc.html" rel="nofollow" target="_blank">
                    http://files-upload.com/173948/Lancaster2004_Panelprobit.doc.html
                   </a>
                  </p>
                  <p>
                   这里是Tony Lancaster的书的关于Panel Data Probit的章节，一共7页.做成pdf太大了，我就直接上word格式的.里面包括Probit模型，orthogonal reparameterization 和相关的代码.
                  </p>
                 </div>
                 <!-- .bbp-reply-content -->
                </div>
                <!-- .reply -->
               </li>
               <!-- .bbp-body -->
               <li class="bbp-footer">
                <div class="bbp-reply-author">
                 作者
                </div>
                <div class="bbp-reply-content">
                 帖子
                </div>
                <!-- .bbp-reply-content -->
               </li>
               <!-- .bbp-footer -->
              </ul>
              <!-- #topic-0-replies -->
              <div class="bbp-pagination">
               <div class="bbp-pagination-count">
                查看 15 个帖子 - 1 到 15（总计 22 个）
               </div>
               <div class="bbp-pagination-links">
                <span class="page-numbers current">
                 1
                </span>
                <a class="page-numbers" href="http://cos.name/cn/profile/11937/replies/page/2/">
                 2
                </a>
                <a class="next page-numbers" href="http://cos.name/cn/profile/11937/replies/page/2/">
                 →
                </a>
               </div>
              </div>
             </div>
            </div>
            <!-- #bbp-user-replies-created -->
           </div>
          </div>
         </div>
        </div>
        <!-- .entry-content -->
        <footer class="entry-meta">
        </footer>
        <!-- .entry-meta -->
       </article>
       <!-- #post -->
      </div>
      <!-- #content -->
     </div>
     <!-- #primary -->
     <div class="sidebar-container" id="tertiary" role="complementary">
      <div class="sidebar-inner">
       <div class="widget-area">
        <aside class="widget bbp_widget_login" id="bbp_login_widget-2">
         <h3 class="widget-title">
          登录
         </h3>
         <form action="http://cos.name/cn/wp-login.php" class="bbp-login-form" method="post">
          <fieldset>
           <legend>
            登录
           </legend>
           <div class="bbp-username">
            <label for="user_login">
             用户名:
            </label>
           </div>
           <div class="bbp-password">
            <label for="user_pass">
             密码:
            </label>
           </div>
           <div class="bbp-remember-me">
            <label for="rememberme">
             记住用户名
            </label>
           </div>
           <div class="bbp-submit-wrapper">
            <button class="button submit user-submit" id="user-submit" name="user-submit" tabindex="104" type="submit">
             登录
            </button>
           </div>
           <div class="bbp-login-links">
            <a class="bbp-register-link" href="http://cos.name/cn/wp-login.php?action=register" title="注册">
             注册
            </a>
            <a class="bbp-lostpass-link" href="http://cos.name/cn/wp-login.php?action=lostpassword" title="忘记密码">
             忘记密码
            </a>
           </div>
          </fieldset>
         </form>
        </aside>
        <aside class="widget widget_text" id="text-7">
         <h3 class="widget-title">
          搜索
         </h3>
         <div class="textwidget">
          <form action="http://www.google.com/search" id="bbp-search-form" method="get" onsubmit="Gsitesearch(this)" role="search">
           <div>
           </div>
          </form>
          <form id="bbp-search-form-baidu" onsubmit="g(this)" role="search">
           <div>
           </div>
          </form>
         </div>
        </aside>
        <aside class="widget widget_text" id="text-2">
         <h3 class="widget-title">
          新鲜事
         </h3>
         <div class="textwidget">
          <ul>
           <li>
            <a href="http://cos.name/cn/topics/">
             最新帖子
            </a>
           </li>
           <li>
            <a href="http://cos.name/cn/view/popular/">
             最热门主题
            </a>
           </li>
           <li>
            <a href="http://cos.name/cn/view/no-replies/">
             消灭零回复
            </a>
           </li>
          </ul>
         </div>
        </aside>
        <aside class="widget widget_text" id="text-3">
         <h3 class="widget-title">
          RSS订阅
         </h3>
         <div class="textwidget">
          <ul>
           <li>
            <img src="http://cos.name/wp-includes/images/rss.png"/>
            <a href="http://cos.name/cn/topics/feed/">
             所有主题
            </a>
           </li>
           <li>
            <img src="http://cos.name/wp-includes/images/rss.png"/>
            <a href="http://cos.name/cn/forums/feed/">
             所有帖子
            </a>
           </li>
          </ul>
         </div>
        </aside>
       </div>
       <!-- .widget-area -->
      </div>
      <!-- .sidebar-inner -->
     </div>
     <!-- #tertiary -->
    </div>
    <!-- #main -->
    <footer class="site-footer" id="colophon" role="contentinfo">
     <div class="site-info">
      版权所有 © 2014 统计之都 | 由
      <a href="http://wordpress.org/">
       WordPress
      </a>
      构建 | 主题修改自
      <a href="http://wordpress.org/themes/twentythirteen">
       Twenty Thirteen
      </a>
     </div>
     <!-- .site-info -->
    </footer>
    <!-- #colophon -->
   </div>
   <!-- #page -->
  </div>
 </body>
</html>